7. Backgrounds and Borders

I. Background-color

Explanation:
background-color se kisi element ka background color set kiya jata hai.
Example: red, #f0f0f0, rgba(0,0,0,0.5)

II. Background-image

Explanation:
background-image kisi element ke background me image lagane ke liye hota hai.

III. Background-size

Explanation:
background-size image ka size control karta hai.
Values: auto, cover, contain, 100px 100px

IV. Background-position, repeat, attachment

Explanation:
background-position image ki location set karta hai.
background-repeat se image ka repeat control hota hai.
background-attachment se image scroll hoti hai ya fixed rehti hai.

V. Borders and Border-radius

Explanation:
border se element ke 4 side pe line lagti hai.
border-radius se corner gol ban jate hain.

VI. Outline and Border Images

Explanation:
outline ek outer line lagata hai jo border se bahar hoti hai.
border-image se border ki jagah image use hoti hai.